<script setup lang="ts">
import { ref } from 'vue'
const data = ref()
data.value = await $fetch('/api/hello')
</script>

<template>
    <pre>{{ data }}</pre>
</template>